package com.ecoolex.discount.sales.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class YouWorldGiftCardOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public YouWorldGiftCardOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public YouWorldGiftCardOrderExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public YouWorldGiftCardOrderExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        YouWorldGiftCardOrderExample example = new YouWorldGiftCardOrderExample();
        return example.createCriteria();
    }

    public YouWorldGiftCardOrderExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public YouWorldGiftCardOrderExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public YouWorldGiftCardOrderExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public YouWorldGiftCardOrderExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public YouWorldGiftCardOrderExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("youworldgiftcardorder.OrderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("youworldgiftcardorder.OrderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderId =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderId <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.OrderId >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderId >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("youworldgiftcardorder.OrderId <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderId <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("youworldgiftcardorder.OrderId like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("youworldgiftcardorder.OrderId not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("youworldgiftcardorder.OrderId in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.OrderId not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.OrderId between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.OrderId not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andFaceValueIsNull() {
            addCriterion("youworldgiftcardorder.FaceValue is null");
            return (Criteria) this;
        }

        public Criteria andFaceValueIsNotNull() {
            addCriterion("youworldgiftcardorder.FaceValue is not null");
            return (Criteria) this;
        }

        public Criteria andFaceValueEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.FaceValue =", value, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.FaceValue = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaceValueNotEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.FaceValue <>", value, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.FaceValue <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaceValueGreaterThan(Integer value) {
            addCriterion("youworldgiftcardorder.FaceValue >", value, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.FaceValue > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaceValueGreaterThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.FaceValue >=", value, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.FaceValue >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaceValueLessThan(Integer value) {
            addCriterion("youworldgiftcardorder.FaceValue <", value, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.FaceValue < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaceValueLessThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.FaceValue <=", value, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.FaceValue <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaceValueIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.FaceValue in", values, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueNotIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.FaceValue not in", values, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.FaceValue between", value1, value2, "faceValue");
            return (Criteria) this;
        }

        public Criteria andFaceValueNotBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.FaceValue not between", value1, value2, "faceValue");
            return (Criteria) this;
        }

        public Criteria andCostPointIsNull() {
            addCriterion("youworldgiftcardorder.CostPoint is null");
            return (Criteria) this;
        }

        public Criteria andCostPointIsNotNull() {
            addCriterion("youworldgiftcardorder.CostPoint is not null");
            return (Criteria) this;
        }

        public Criteria andCostPointEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CostPoint =", value, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CostPoint = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostPointNotEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CostPoint <>", value, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CostPoint <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostPointGreaterThan(Integer value) {
            addCriterion("youworldgiftcardorder.CostPoint >", value, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CostPoint > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CostPoint >=", value, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CostPoint >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostPointLessThan(Integer value) {
            addCriterion("youworldgiftcardorder.CostPoint <", value, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CostPoint < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostPointLessThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CostPoint <=", value, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CostPoint <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCostPointIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.CostPoint in", values, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointNotIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.CostPoint not in", values, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.CostPoint between", value1, value2, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCostPointNotBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.CostPoint not between", value1, value2, "costPoint");
            return (Criteria) this;
        }

        public Criteria andCardIdIsNull() {
            addCriterion("youworldgiftcardorder.CardId is null");
            return (Criteria) this;
        }

        public Criteria andCardIdIsNotNull() {
            addCriterion("youworldgiftcardorder.CardId is not null");
            return (Criteria) this;
        }

        public Criteria andCardIdEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardId =", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardIdNotEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardId <>", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThan(Integer value) {
            addCriterion("youworldgiftcardorder.CardId >", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardId >=", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardIdLessThan(Integer value) {
            addCriterion("youworldgiftcardorder.CardId <", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardIdLessThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardId <=", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardIdIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.CardId in", values, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.CardId not in", values, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.CardId between", value1, value2, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.CardId not between", value1, value2, "cardId");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("youworldgiftcardorder.OrderStatus is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("youworldgiftcardorder.OrderStatus is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderStatus = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderStatus <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderStatus > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderStatus >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderStatus < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.OrderStatus <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderStatusLike(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus like", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotLike(String value) {
            addCriterion("youworldgiftcardorder.OrderStatus not like", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<String> values) {
            addCriterion("youworldgiftcardorder.OrderStatus in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.OrderStatus not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.OrderStatus between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.OrderStatus not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andCardNameIsNull() {
            addCriterion("youworldgiftcardorder.CardName is null");
            return (Criteria) this;
        }

        public Criteria andCardNameIsNotNull() {
            addCriterion("youworldgiftcardorder.CardName is not null");
            return (Criteria) this;
        }

        public Criteria andCardNameEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardName =", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardNameNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardName <>", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardName >", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardName >=", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardNameLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardName <", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardNameLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardName <=", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardNameLike(String value) {
            addCriterion("youworldgiftcardorder.CardName like", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardName not like", value, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardName in", values, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardName not in", values, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardName between", value1, value2, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardNameNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardName not between", value1, value2, "cardName");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgIsNull() {
            addCriterion("youworldgiftcardorder.CardBarcodeImg is null");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgIsNotNull() {
            addCriterion("youworldgiftcardorder.CardBarcodeImg is not null");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg =", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeImg = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg <>", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeImg <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg >", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeImg > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg >=", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeImg >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg <", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeImg < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg <=", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeImg <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgLike(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg like", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg not like", value, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg in", values, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg not in", values, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg between", value1, value2, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeImgNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardBarcodeImg not between", value1, value2, "cardBarcodeImg");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberIsNull() {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber is null");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberIsNotNull() {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber is not null");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber =", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeNumber = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber <>", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeNumber <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber >", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeNumber > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber >=", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeNumber >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber <", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeNumber < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber <=", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardBarcodeNumber <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberLike(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber like", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber not like", value, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber in", values, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber not in", values, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber between", value1, value2, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardBarcodeNumberNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardBarcodeNumber not between", value1, value2, "cardBarcodeNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberIsNull() {
            addCriterion("youworldgiftcardorder.CardPinNumber is null");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberIsNotNull() {
            addCriterion("youworldgiftcardorder.CardPinNumber is not null");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber =", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardPinNumber = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardPinNumberNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber <>", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardPinNumber <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardPinNumberGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber >", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardPinNumber > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardPinNumberGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber >=", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardPinNumber >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardPinNumberLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber <", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardPinNumber < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardPinNumberLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber <=", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardPinNumber <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardPinNumberLike(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber like", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardPinNumber not like", value, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardPinNumber in", values, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardPinNumber not in", values, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardPinNumber between", value1, value2, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardPinNumberNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardPinNumber not between", value1, value2, "cardPinNumber");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkIsNull() {
            addCriterion("youworldgiftcardorder.CardCertificateLink is null");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkIsNotNull() {
            addCriterion("youworldgiftcardorder.CardCertificateLink is not null");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink =", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardCertificateLink = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink <>", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardCertificateLink <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink >", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardCertificateLink > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink >=", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardCertificateLink >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink <", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardCertificateLink < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink <=", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardCertificateLink <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkLike(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink like", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardCertificateLink not like", value, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardCertificateLink in", values, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardCertificateLink not in", values, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardCertificateLink between", value1, value2, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardCertificateLinkNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardCertificateLink not between", value1, value2, "cardCertificateLink");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlIsNull() {
            addCriterion("youworldgiftcardorder.CardLogoUrl is null");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlIsNotNull() {
            addCriterion("youworldgiftcardorder.CardLogoUrl is not null");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl =", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardLogoUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl <>", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardLogoUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl >", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardLogoUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl >=", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardLogoUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl <", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardLogoUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl <=", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardLogoUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlLike(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl like", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardLogoUrl not like", value, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardLogoUrl in", values, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardLogoUrl not in", values, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardLogoUrl between", value1, value2, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardLogoUrlNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardLogoUrl not between", value1, value2, "cardLogoUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlIsNull() {
            addCriterion("youworldgiftcardorder.CardImageUrl is null");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlIsNotNull() {
            addCriterion("youworldgiftcardorder.CardImageUrl is not null");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl =", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardImageUrl = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardImageUrlNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl <>", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardImageUrl <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardImageUrlGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl >", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardImageUrl > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardImageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl >=", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardImageUrl >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardImageUrlLessThan(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl <", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardImageUrl < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardImageUrlLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl <=", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardImageUrl <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardImageUrlLike(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl like", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlNotLike(String value) {
            addCriterion("youworldgiftcardorder.CardImageUrl not like", value, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardImageUrl in", values, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.CardImageUrl not in", values, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardImageUrl between", value1, value2, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardImageUrlNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.CardImageUrl not between", value1, value2, "cardImageUrl");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentIsNull() {
            addCriterion("youworldgiftcardorder.CardDiscountPercent is null");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentIsNotNull() {
            addCriterion("youworldgiftcardorder.CardDiscountPercent is not null");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentEqualTo(BigDecimal value) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent =", value, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountPercent = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentNotEqualTo(BigDecimal value) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent <>", value, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountPercent <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentGreaterThan(BigDecimal value) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent >", value, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountPercent > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent >=", value, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountPercent >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentLessThan(BigDecimal value) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent <", value, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountPercent < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent <=", value, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountPercent <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentIn(List<BigDecimal> values) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent in", values, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentNotIn(List<BigDecimal> values) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent not in", values, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent between", value1, value2, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountPercentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("youworldgiftcardorder.CardDiscountPercent not between", value1, value2, "cardDiscountPercent");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdIsNull() {
            addCriterion("youworldgiftcardorder.CardDiscountUsd is null");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdIsNotNull() {
            addCriterion("youworldgiftcardorder.CardDiscountUsd is not null");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd =", value, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountUsd = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdNotEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd <>", value, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountUsd <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdGreaterThan(Integer value) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd >", value, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountUsd > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdGreaterThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd >=", value, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountUsd >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdLessThan(Integer value) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd <", value, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountUsd < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdLessThanOrEqualTo(Integer value) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd <=", value, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CardDiscountUsd <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd in", values, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdNotIn(List<Integer> values) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd not in", values, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd between", value1, value2, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andCardDiscountUsdNotBetween(Integer value1, Integer value2) {
            addCriterion("youworldgiftcardorder.CardDiscountUsd not between", value1, value2, "cardDiscountUsd");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("youworldgiftcardorder.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("youworldgiftcardorder.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("youworldgiftcardorder.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("youworldgiftcardorder.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("youworldgiftcardorder.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("youworldgiftcardorder.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("youworldgiftcardorder.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("youworldgiftcardorder.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("youworldgiftcardorder.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("youworldgiftcardorder.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("youworldgiftcardorder.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("youworldgiftcardorder.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("youworldgiftcardorder.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("youworldgiftcardorder.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("youworldgiftcardorder.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("youworldgiftcardorder.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("youworldgiftcardorder.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("youworldgiftcardorder.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("youworldgiftcardorder.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("youworldgiftcardorder.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("youworldgiftcardorder.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("youworldgiftcardorder.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("youworldgiftcardorder.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("youworldgiftcardorder.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("youworldgiftcardorder.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("youworldgiftcardorder.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("youworldgiftcardorder.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("youworldgiftcardorder.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("youworldgiftcardorder.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("youworldgiftcardorder.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("youworldgiftcardorder.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("youworldgiftcardorder.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("youworldgiftcardorder.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("youworldgiftcardorder.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("youworldgiftcardorder.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(YouWorldGiftCardOrder.Column column) {
            addCriterion(new StringBuilder("youworldgiftcardorder.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("youworldgiftcardorder.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("youworldgiftcardorder.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("youworldgiftcardorder.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("youworldgiftcardorder.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private YouWorldGiftCardOrderExample example;

        protected Criteria(YouWorldGiftCardOrderExample example) {
            super();
            this.example = example;
        }

        public YouWorldGiftCardOrderExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(YouWorldGiftCardOrder.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(YouWorldGiftCardOrder.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.discount.sales.entity.YouWorldGiftCardOrderExample example);
    }
}